﻿@model GdHotel.Data.SideBlockCustomPage

@{
    ViewBag.Title = "Просмотр";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}

<h2>Просмотр</h2>

<fieldset>
    <legend>Связь со страницей</legend>

    @Html.Partial("_ShowSideBlockCustomPagePartial")

</fieldset>
<p>
    @Html.ActionLink("Редактировать", "Edit", new { id = Model.Id }) |
    @Html.ActionLink("Назад к списку", "Edit", "ManageSideBlocks", new { id = (int)ViewBag.ReturnSideBlockId }, new {})
</p>
